<template>
  <div class="m-page-wrapper">
    <a-page-header v-bind="$attrs">
      <slot></slot>
      <template #[key]="data" v-for="(item, key) in $slots">
        <slot :name="key" v-bind="data || {}"></slot>
      </template>
    </a-page-header>
  </div>
</template>
<script lang="ts">
export default {
  inheritAttrs: false, // 不继承属性
}
</script>
<script setup lang="ts">

</script>
<style lang="less" scoped>
::v-deep(.ant-page-header) {
  padding: 10px;
}
::v-deep(.ant-page-header-content) {
  padding: 0px;
}
</style>